package cn.zebra.dev.product.module.stages.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@TableName("product_stages")
public class ProductStagesEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("商品id")
    private Long productId;

    @ApiModelProperty("分期最长期限")
    private Long term;

    @ApiModelProperty("每期手续费比例")
    private BigDecimal feeRatio;
}
